package ace.module.product.sdk.core.feign.impl;

import org.springframework.cloud.openfeign.FeignClient;
import ace.cmp.openfeign.security.oauth2.core.config.FeignInternalServerOauth2SecurityConfig;
import ace.cmp.core.model.R;
import ace.module.common.api.annotation.ApiRemoteProxyPriority;
import ace.module.product.sdk.core.feign.PmsProductFavoriteRecordFeignApi;
import ace.module.product.sdk.core.constant.SdkConstant;

/**
* 商品收藏记录 rpc feign.
*
* @author Caspar
*/
@FeignClient(
    name = "${spring.cloud.openfeign.client.config.pmsProductFavoriteRecordFeign.name:" + SdkConstant.FEIGN_SERVICE_NAME + "}",
    contextId = "pmsProductFavoriteRecordFeign",
    path = PmsProductFavoriteRecordFeign.PATH,
    configuration = FeignInternalServerOauth2SecurityConfig.class,
    primary = false
)
@ApiRemoteProxyPriority
public interface PmsProductFavoriteRecordFeign extends PmsProductFavoriteRecordFeignApi {
    String PATH = "${spring.cloud.openfeign.client.config.pmsProductFavoriteRecordFeign.path:/product/pms-product-favorite-record/rpc}";
}